package com.cnfangmao.masterdata.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 主数据中心用户
 * </p>
 *
 * @author chenxd
 * @since 2020-04-14
 */
@TableName("t_account")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId("user_id")
    private String userId;
    /**
     * 用户编码
     */
    @TableField("user_code")
    private String userCode;
    /**
     * 用户名称
     */
    @TableField("user_name")
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * 白名单列表
     */
    @TableField("white_list")
    private String whiteList;
    /**
     * 接收或发送频次(单位：秒)
     */
    private Integer frequency;
    /**
     * 用户头像url
     */
    @TableField("user_image")
    private String userImage;
    /**
     * 描述
     */
    private String description;
    /**
     * 是否业务系统
1：是
0：否
     */
    @TableField("is_business_system")
    private Integer isBusinessSystem;
    /**
     * 创建时间
     */
    @TableField("created_on")
    private Date createdOn;
    /**
     * 创建人
     */
    @TableField("created_by")
    private String createdBy;
    /**
     * 修改时间
     */
    @TableField("modified_on")
    private Date modifiedOn;
    /**
     * 修改人
     */
    @TableField("modified_by")
    private String modifiedBy;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getWhiteList() {
        return whiteList;
    }

    public void setWhiteList(String whiteList) {
        this.whiteList = whiteList;
    }

    public Integer getFrequency() {
        return frequency;
    }

    public void setFrequency(Integer frequency) {
        this.frequency = frequency;
    }

    public String getUserImage() {
        return userImage;
    }

    public void setUserImage(String userImage) {
        this.userImage = userImage;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getIsBusinessSystem() {
        return isBusinessSystem;
    }

    public void setIsBusinessSystem(Integer isBusinessSystem) {
        this.isBusinessSystem = isBusinessSystem;
    }

    public Date getCreatedOn() {
        return createdOn;
    }

    public void setCreatedOn(Date createdOn) {
        this.createdOn = createdOn;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getModifiedOn() {
        return modifiedOn;
    }

    public void setModifiedOn(Date modifiedOn) {
        this.modifiedOn = modifiedOn;
    }

    public String getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    @Override
    public String toString() {
        return "Account{" +
        "userId=" + userId +
        ", userCode=" + userCode +
        ", userName=" + userName +
        ", password=" + password +
        ", whiteList=" + whiteList +
        ", frequency=" + frequency +
        ", userImage=" + userImage +
        ", description=" + description +
        ", isBusinessSystem=" + isBusinessSystem +
        ", createdOn=" + createdOn +
        ", createdBy=" + createdBy +
        ", modifiedOn=" + modifiedOn +
        ", modifiedBy=" + modifiedBy +
        "}";
    }
}
